package site.lanmushan.quiz.api.service;

import site.lanmushan.common.query.service.IBaseService;
import site.lanmushan.quiz.api.ao.QuizTbQuestionAnswerAo;
import site.lanmushan.quiz.api.ao.StartQuizTbBankExamAo;
import site.lanmushan.quiz.api.ao.SubmitAnswerAo;
import site.lanmushan.quiz.api.entity.QuizTbBankExamRecord;

/**
 * ( QuizTbBankTestRecord)表服务接口
 * 测验记录
 *
 * @author $author
 * @since 2020-06-14 21:15:05
 */
public interface IQuizTbBankExamRecordService extends IBaseService<QuizTbBankExamRecord> {

    QuizTbBankExamRecord startExam(StartQuizTbBankExamAo startQuizTbBankExamAo);

    /**
     * 获取当前用户正在答题中的题库
     * @param bankCode
     * @return
     */
    QuizTbBankExamRecord selectCurrentUserAnsweringExam(String bankCode);


}